//
//  BaseViewController.m
//  atongmuChildren
//
//  Created by 度周末网络-王腾 on 16/6/2.
//  Copyright © 2016年 dzmmac. All rights reserved.
//

#import "BaseViewController.h"

@interface BaseViewController () <UIGestureRecognizerDelegate,UINavigationControllerDelegate>

@end

@implementation BaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
   
}

-(void)panScreenEdgeEnable{
    UIPanGestureRecognizer *pan = [[UIPanGestureRecognizer alloc ] init];
    [self.view addGestureRecognizer:pan];
}


-(void)configNavigationBar{
    [self.navigationController.navigationBar setTranslucent:NO];
    self.navigationController.interactivePopGestureRecognizer.delegate = self;
    [self.navigationController.navigationBar setBarTintColor:GLOBLE_LINE_COLOR];
    [self.navigationController.navigationBar setTitleTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys:
                                                                     [UIColor whiteColor], NSForegroundColorAttributeName,
                                                                     [UIFont systemFontOfSize:17], NSFontAttributeName,
                                                                     nil]];
 
    [self.navigationController.navigationBar setShadowImage:[UIImage new]];
    
    
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}



@end
